@import "base";
@import "variables";

//input共用样式

input[type="text"],
input[type="password"],
select {
  height: 40px;
  line-height: 40px;
  font-size: @font-size-base;
  color: @gray-con;
  .border(1px; @border-base);
  box-sizing: border-box;
  .border-radius(@border-radius-large);
  vertical-align: middle;
}

input[type="text"],
input[type="password"] {
  width: 100%;
  padding: 0 10px;
  &:focus {
    .border(1px; @blue-base);
  }
}

input[readonly] {
  &:focus {
    .border(1px; @border-base);
  }
}

select {
  width: 100%;
  //background: url("../images/select_up.png") 96.8%  center no-repeat #fff;
  &:focus {
    .border(1px; @blue-base);
  }
}

input[type="button"],
input[type="submit"] {
  height: 30px;
  line-height: 30px;
  color: @title-color;
  border: none;
  .border-radius(@border-radius-large);
  font-size: @font-size-base;
  font-family: 'Microsoft YaHei';
  min-width: 90px;
  padding: 0 5px;
  background-color: @blue-base;
  cursor: pointer;
  &:hover {
    background-color: @blue-base-bg;
  }
  &.ph_noBor {
    border-left: none;
  }
  &.provingTxt {
    display: inline-block;
    .size(100px; 26px);
    line-height: 26px;
    margin-top: 6px;
    border-left: 1px solid #dfdfdf;
    text-align: center;
    color: @blue-base;
    font-size: @font-size-base;
    background: none;
    .border-radius(0);
    &:hover {
      color: @blue-base-bg;
    }
  }
}

button {
  border: none;
  background: none;
}

//操作弹窗按钮
.PopupBtn {
  .size(100%; 30px);
  text-align: center;
  margin: 25px 0;
  input[type="button"],
  input[type="submit"] {
    margin: 0 14px;
    .size(60px; 30px);
    min-width: 60px;
    &.cancel {
      .border(1px; @blue-base);
      background: @title-color;
      color: @blue-base;
      &:hover {
        color: @blue-base-bg;
        .border(1px; @blue-base-bg);
      }
    }
  }
  &.btnLeft {
    text-align: left;
    input[type="button"],
    input[type="submit"] {
      .size(100px; 30px);
    }
  }
}

//模块：登录、找回密码
.loginBox {
  .relative;
  .square(100%);
  background: url("../images/bg.jpg") 0 0 no-repeat;
  .loginCon {
    .absolute;
    top: 50%;
    left: 50%;
    .size(360px; 460px);
    margin-top: -230px;
    margin-left: -210px;
    background: @title-color;
    padding: 0 30px;
    .border-radius(@border-radius-large);
    -webkit-box-shadow: 0 6px 10px rgba(0, 100, 76, .15);
    -moz-box-shadow: 0 6px 10px rgba(0, 100, 76, .15);
    box-shadow: 0 6px 10px rgba(0, 100, 76, .15);
    h2 {
      .size(100%; 40px);
      text-align: center;
      margin-top: 32px;
      margin-bottom: 22px;
      line-height: 40px;
      font-size: @font-size-h3;
      color: @gray;
      font-weight: normal;
    }
    .loginTxt {
      .relative;
      .size(100%; 58px);
      margin-top: 10px;
      .loginPass {
        display: block;
        .size(100%; 18px;);
        line-height: 18px;
        text-indent: 10px;
        &.loginErr {
          color: @err-color;
        }
        &.loginSuc {
          color: @blue-base;
        }
      }
      .proving {
        padding-right: 120px;
      }
      .provingImg {
        .absolute;
        right: 1px;
        top: 1px;
        .size(110px; 38px);
        text-align: center;
        &.provBtn {
          right: 140px;
        }
      }
      .bootstrap-select.btn-group:not(.input-group-btn), .bootstrap-select.btn-group[class*="col-"] {
        .size(100%; 40px);
        margin-right: 10px;
      }
      .bootstrap-select > .dropdown-toggle {
        height: 40px;
      }
      .btn-default {
        .border-radius(6px);
      }
    }
    .loginBtn {
      margin-top: 20px;
      input[type="button"] {
        .size(100%; 40px);
        font-size: @font-size-large;
      }
    }
    .loginConTxt {
      .size(100%; 30px);
      line-height: 30px;
      font-size: @font-size-base;
      &:extend(.clearfix all);
      a {
        color: @blue-base;
        &:hover {
          color: @blue-base-bg;
          text-decoration: underline;
        }
      }
    }
  }
  .backPassword {
    &:extend(.loginCon all);
    .size(360px; 530px);
    margin-top: -265px;
    margin-left: -210px;
  }
}

/*
*模块：主页
*时间：20170510
*作者：梁彬
*/
.MainBox {
  .absolute;
  .square(100%);
  background: #fafafa;
  bottom: 0;
  left: 0;
  min-width: 1400px;
  overflow-x: hidden;
  overflow-y: auto;
  right: 0;
  top: 0;
  .mainTop {
    .relative;
    .size(100%; 80px);
    background: @blue-base;
    &:extend(.clearfix all);
    .logo {
      .size(auto; 60px);
      line-height: 60px;
      margin: 10px 0 10px 15px;
      padding: 0 10px 0 80px;
      color: @title-color;
      font-size: @font-size-large-box;
      /*background: url("../images/logo.png") 20px center no-repeat;*/
    }
  }
  .userBox {
    line-height: 80px;
    padding-right: 30px;
    font-size: @font-size-large-user;
    .userListBox {
      .relative;
      .left;
      .size(auto; 40px);
      line-height: 40px;
      padding-right: 25px;
      margin: 20px;
      color: @title-color;
      background: url("../images/arrow.png") right center no-repeat;
      cursor: pointer;
      em {
        display: block;
      }
      .userList {
        .hide;
        .absolute;
        .size(200px; auto);
        right: 0;
        top: 40px;
        background: @title-color;
        .border(1px; @border-base);
        padding: 10px 0;
        z-index: @zindex-popover;
        li {
          .size(100%; 30px);
          .border-bottom(1px; @border-base);
          &.noBorder {
            border-bottom: none;
          }
          a {
            color: @nav-color;
            font-size: @font-size-base;
            display: block;
            padding: 0 20px;
            line-height: 30px;
            &:hover {
              color: @blue-base;
            }
          }
        }
      }
    }
    span {
      display: inline-block;
      .size(auto; 40px);
      line-height: 40px;
      color: @title-color;
      padding-right: 40px;
    }
  }
  .shrinkBtn {
    .absolute;
    display: block;
    left: 340px;
    top: 50%;
    margin-top: -15px;
    .square(30px);
    background: url("../images/navIcon.png") center center no-repeat @blue-base;
    cursor: pointer;
    &:hover {
      background: url("../images/navIcon_h.png") center center no-repeat @blue-base;
    }
  }
  .mainContentBox {
    .absolute;
    top: 80px;
    left: 250px;
    bottom: 0;
    right: 0;
    //代理申请调整
    &.agency_applicationbox {
      top: 80px;
      left: 0;
    }
  }
}

//左边菜单栏
.leftNav {
  .absolute;
  top: 80px;
  left: 0;
  bottom: 0;
  .size(240px; auto);
  background: @title-color;
  border-right: 1px solid #eee;
  box-sizing: border-box;
  overflow-x: hidden;
  overflow-y: auto;
  .navBox {
    .size(240px; auto);
    margin-top: 30px;
    .link {
      .relative;
      .size(auto; 40px);
      line-height: 40px;
      color: @nav-color;
      cursor: pointer;
      display: block;
      font-size: @font-size-in;
      padding: 5px 10px;
      &:hover {
        color: @blue-base;
      }
      .navIcon {
        float: left;
        .square(40px);
        background: url("../images/leftNav_ico.png") no-repeat;
      }
      .nav_ware {
        background-position: 0 0;
      }
      .nav_type {
        background-position: 0 -40px;
      }
      .nav_supply {
        background-position: 0 -80px;
      }
      .nav_order {
        background-position: 0 -120px
      }
      .nav_merchant {
        background-position: 0 -160px;
      }
      .nav_agent {
        background-position: 0 -200px;
      }
      .nav_supplier {
        background-position: 0 -240px;
      }
      .nav_account {
        background-position: 0 -280px;
      }
      .nav_system {
        background-position: 0 -320px;
      }
      .nav_power {
        background-position: 0 -360px;
      }
      .nav_balance {
        background-position: 0 -400px;
      }
      .nav_run {
        background-position: 0 -440px;
      }
      .nav_report {
        background-position: 0 -480px;
      }
      .nav_con {
        background-position: 0 -520px;
      }
      .nav_vip {
        background-position: 0 -560px;
      }
      .nav_member {
        background-position: 0 -600px;
      }
      .navIconRig {
        float: right;
        .size(20px; 40px);
        background: url("../images/nav_ico.png") center center no-repeat;
      }
    }
    .open {
      .link {
        color: @blue-base;
        .navIconRig {
          background: url("../images/nav_ico_h.png") center center no-repeat;
        }
      }
      .nav_ware {
        background-position: -40px 0;
      }
      .nav_type {
        background-position: -40px -40px;
      }
      .nav_supply {
        background-position: -40px -80px;
      }
      .nav_order {
        background-position: -40px -120px
      }
      .nav_merchant {
        background-position: -40px -160px;
      }
      .nav_agent {
        background-position: -40px -200px;
      }
      .nav_supplier {
        background-position: -40px -240px;
      }
      .nav_account {
        background-position: -40px -280px;
      }
      .nav_system {
        background-position: -40px -320px;
      }
      .nav_power {
        background-position: -40px -360px;
      }
      .nav_balance {
        background-position: -40px -400px;
      }
      .nav_run {
        background-position: -40px -440px;
      }
      .nav_report {
        background-position: -40px -480px;
      }
      .nav_con {
        background-position: -40px -520px;
      }
      .nav_vip {
        background-position: -40px -560px;
      }
      .nav_member {
        background-position: -40px -600px;
      }
    }
    .submenu {
      .hide;
      dd {
        line-height: 34px;
        a {
          display: block;
          padding-left: 50px;
          font-size: @font-size-base;
          color: @nav-color;
          .size(auto; 34px);
          overflow: hidden;
          &:hover,
          &.link_a {
            color: @blue-base;
          }
        }
      }
    }
  }
}

//layui框架鼠标右键样式
.admin-contextmenu {
  position: absolute;
  line-height: 36px;
  padding: 5px 0;
  border: 1px solid #d2d2d2;
  background-color: white;
  z-index: 19940201;
  border-radius: 2px;
  white-space: nowrap;
  top: 30px;
  /*width: 100px;height: 200px; */
}

.admin-contextmenu ul li {
  padding: 0 15px;
}

.admin-contextmenu ul li:hover {
  background-color: #eee;
  cursor: pointer;
}

.admin-nav-card > .layui-tab-title {
  .border-bottom(1px; @blue-base);
}

.admin-nav-card > .layui-tab-title .layui-this {
  color: @title-color;
  background-color: @blue-base;
}

.admin-nav-card .layui-tab-title cite {
  font-style: normal;
  padding-left: 5px;
}

.admin-nav-card > .layui-tab-title .layui-this:after {
  border-bottom: 0;
}

.layui-tab-title li.layui-this .layui-tab-close {
  color: @title-color;
}

//layui tab标签ifrane样式
.iframeBox {
  .size(100%; auto);
}

//模块：当前位置
.MainContent {
  .relative;
  .square(100%);
  overflow-x: hidden;
  overflow-y: auto;
}

//功能列表按钮
.columnBtn {
  background: @blue-base;
  .size(100px; 30px);
  margin-right: 10px;
  .border-radius(@border-radius-base);
  color: @title-color;
  &.integral_span{
    display: inline-block;
    text-align: center;
    width: auto;
    padding:0 5px;
    &:hover{
      background: @blue-base;
    }
  }
  &:hover {
    background: @blue-base-bg;
  }
}

.MainCont {
  .relative;
  background: @title-color;
  //.border(1px; @border-base);
  box-sizing: border-box;
  padding: 20px;
  min-height: 600px;
  &.agency_applicationCont {
    .size-small(1270px; 600px);
    margin: 0 auto;
    border: none;
  }
  .welcon {
    .absolute;
    .size(100%; 80px);
    top: 50%;
    left: 50%;
    margin-left: -50%;
    margin-top: -40px;
    font-size: 60px;
    text-align: center;
    line-height: 70px;
  }
}

.MainWel {
  .absolute;
  .size(100%; auto);
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  margin-top: 0;
}

//公用标注样式
.require {
  display: inline-block;
  color: @err-color;
  margin-right: 5px;
}

//标题内按钮
.ph_snbBtn {
  .fixed(0; 0);
  .size(96.5%; 30px);
  line-height: 30px;
  padding: 20px 20px 10px 20px;
  background: @title-color;
  z-index: @zindex-tooltip;
  .border-bottom(1Px; @border-base);
  input[type="button"] {
    margin-left: 15px;
  }
}

//筛选条件
.ph_screen {
  padding: 50px 0 10px 0;
}

.ph_tableBox {
  .size(100%; auto);
  table-layout: fixed;
  tr th,
  tr td {
    .relative;
    height: 50px;
    line-height: 50px;
    font-size: @font-size-base;
    color: @gray;
  }
  tr th {
    width: 120px;
    text-align: right;
  }
  tr td {
    &.ph_select {
      .btn-group {
        .left;
        width: 31% !important;
        margin-right: 2%;
      }
      select {
        .size(85%; 30px);
        line-height: 30px;
        vertical-align: middle;
        &.ph_select {
          width: 31%;
          margin-right: 2%;
        }
      }
    }
    input[type="text"],
    input[type="password"] {
      .size(85%; 30px);
      line-height: 30px;
      &.form-control {
        width: 100%;
      }
    }
    input[type="button"] {
      margin: 0 5px;
    }
    .dayBox {
      .size(100%; auto);
      input[type="text"] {
        .size(40%; auto);
      }
    }
    textarea {
      .size(81%; 100px);
      .border(1px; @border-base);
      background: @gray-lighter;
      padding: 2%;
      line-height: 24px;
      vertical-align: middle;
      margin: 15px 0 10px 0;
      &.ph_txtAreaBg {
        background: @title-color;
        margin: 15px 0 10px 0;
        .border-radius(@border-radius-large);
      }
    }
    .ph_radio {
      display: inline-block;
      margin-right: 18px;
      input[type="radio"] {
        vertical-align: middle;
        margin: 0 5px;
      }
    }
  }
}

//列表
.ph_wareBox {
  margin-top: 20px;
  .ph_wareList {
    .size(99.7%; auto);
    table-layout: fixed;
    margin: 0 auto;
    tr {
      &:hover {
        background: @blue-hover;
      }
      &.even {
        background: @tabel-even;
        &:hover {
          background: @blue-hover;
        }
      }
      &.wareBg {
        background: @blue-small;
      }
    }
    tr th,
    tr td {
      font-size: @font-size-base;
      color: @gray;
      vertical-align: middle;
      height: 44px;
      line-height: 22px;
      text-align: center;
      .border(1px; @tabel-border);
      .text-overflow;
      &.ph_tableShow {
        overflow: inherit;
      }
      &.td_input {
        line-height: 67px;
        .relative;
        .formError,
        .formError-text,
        .ph_errorTxt {
          bottom: 0;
        }
      }
      .show-img {
        width: 40px;
        height: 30px;
        cursor: pointer;
        margin: 0 5px;
      }
      .lookColor {
        color: @blue-base;
      }
    }
    tr th {
      background: @tabel-bg;
    }
  }
  .dataTables_info,
  .dataTables_paginate {
    margin: 10px auto 0 0;
  }
  .dataTables_wrapper {
    margin: 0;
    padding-bottom: 15px;
    display: inline-table;
  }
}

//talble横向滚动条
/*.ph_tabScroll{
  overflow-x: auto;
}*/
//通用样式
.PopupBox {
  .hide;
  .PopupCon {
    .size(100%; auto);
  }
}

/*
*模块：分页
*时间：20170523
*作者：梁彬
*/
.dataTables_info,
.dataTables_paginate {
  .size(auto; 32px);
  line-height: 32px;
}

.dataTables_info {
  .left;
}

.dataTables_paginate {
  .right;
}

.dataTables_paginate {
  a, span {
    display: inline-block;
    float: left;
    cursor: pointer;
    text-decoration: none;
    &.ellipsis {
      .square(30px);
      line-height: 22px;
      text-align: center;
      color: @gray-dark;
      margin-right: 5px;
    }
  }
  .paginate_button,
  .paginate_active,
  .fg-button {
    .border(1px; @border-base);
    .border-radius(@border-radius-large);
    box-sizing: border-box;
    color: @gray-dark;
    cursor: pointer;
    margin-right: 5px;
    min-width: 30px;
    height: 32px;
    padding: 0 2px;
    text-align: center;
    text-decoration: none;
    &:hover,
    &.paginate_active,
    &.current_ph,
    &.ui-state-disabled {
      color: @blue-base;
      .border(1px; @blue-base);
    }
    &.previous,
    &.next,
    &.first,
    &.last {
      .size(80px; 32px);
      &.ui-state-disabled,
      &.paginate_button_disabled,
      &.disabled {
        .border(1px; @border-base);
        color: @gray-cont;
      }
    }
  }
  .ui-state-disabled,
  .paginate_button_disabled,
  .disabled {
    cursor: default;
  }
}

.dataTables_wrapper {
  &:extend(.clearfix all);
}

/*表单验证提示*/
.formError,
.formError-text,
.ph_errorTxt {
  .absolute;
  left: 0;
  bottom: -5px;
  .size(auto; 20px);
  max-width: 100%;
  line-height: 20px;
  font-size: @font-size-small;
  color: @err-color;
  overflow: hidden;
}

.mainFrom,
.btn-group {
  .ph_errorTxt {
    bottom: -20px;
  }
}

//错误提示页面
.ph_errorBox {
  .absolute;
  top: 50%;
  left: 50%;
  .size(600px; 440px);
  margin-top: -220px;
  margin-left: -300px;
  .errorTxt {
    .size(100%; 60px);
    line-height: 60px;
    font-size: @font-size-h2;
    color: @blue-base;
    text-align: center;
    margin-bottom: 50px;
  }
  .errorImg {
    margin-bottom: 160px;
  }
}

.MainWelError {
  &:extend(.MainWel all);
  top: 0;
}

//状态颜色
.gray {
  color: @gray-cont;
}

//工会管理添加工会弹层  addList
.addList {
  .size(98%; auto);
  margin: 0 auto;
  padding: 15px 0;
  &.feedback_add {
    padding: 40px 0;
  }
  &.industry_list {
    &:extend(.clearfix all);
    li {
      float: left;
      width: 20%;
      display: block;
      margin-left: 2%;
      border: 1px solid #dddddd;
      text-align: center;
      vertical-align: middle;
      -webkit-border-radius: 6px;
      -moz-border-radius: 6px;
      border-radius: 6px;
      &.industry_actived {
        border: 1px solid #ec5644;
      }
      a {
        display: block;
        height: 40px;
        line-height: 40px;
      }
      span {
        display: block;
        height: 40px;
        line-height: 40px;
        color: #999999;
      }
    }
  }
  &.addMarBot {
    li {
      margin-bottom: 12px;
    }
  }
  li {
    .relative;
    .size(100%; auto);
    min-height: 40px;
    margin-bottom: 24px;
    p.notice {
      width: 60%;
      padding: 0 2px;
      margin: 5px auto 0 130px;
    }
    .DownloadTxt {
      display: block;
      .size(90px; 30px);
      .align(center);
      line-height: 30px;
      margin-left: 310px;
      color: @blue-base;
      &:hover {
        color: @blue-base-bg;
      }
    }
    &:extend(.clearfix all);
    &:last-child {
      margin-bottom: 0;
    }
    .formError,
    .formError-text,
    .ph_errorTxt {
      bottom: -20px;
    }
    .viewer-toolbar {
      li {
        .square(auto);
        min-height: auto;
      }
    }
    .addHeadhunt {
      .left;
      .size(49%; 40px);
      overflow: hidden;
      .detailTxt {
        .size(70%; 40px);
      }
    }
    label {
      .left;
      .size(120px; 40px);
      line-height: 40px;
      margin-right: 10px;
      font-size: @font-size-base;
      .align(right);
      &.addImgTit {
        .square(120px);
        line-height: 120px;
      }
    }
    input[type="text"],
    input[type="password"] {
      .size(30%; auto);
      &.form-control {
        .size(100%; auto);
        height: 30px;
      }
      &.feedback_input {
        .size(55%; auto);
      }
      &.memberTxt {
        .size(60%; auto);
        &.ph_paddRight {
          padding: 0 100px 0 10px;
        }
      }
    }
    .fileImport {
      .absolute;
      top: 0;
      left: 0;
      .size(100%; 42px);
      cursor: pointer;
      opacity: 0;
      font-size: @font-size-in;
    }
    .isActive {
      margin-top: 14px;
    }
    .detailTxt {
      .left;
      .size(86%; auto);
      .align(justify);
      line-height: 40px;
      font-size: @font-size-base;
    }
    .dropdown-menu {
      li {
        min-height: auto;
        margin-bottom: 0;
      }
    }
    .bootstrap-select.btn-group:not(.input-group-btn), .bootstrap-select.btn-group[class*="col-"] {
      .size(20%; 40px);
      margin-right: 10px;
      &.returnList {
        .size(60%; 40px);
      }
    }
    .bootstrap-select > .dropdown-toggle {
      height: 40px;
    }
    .disabled {
      background: @tabel-border;
    }
    //猎头添加标签
    .ph_add_headhunt {
      .left;
      margin-left: 10px;
      .addLabel {
        .relative;
        .left;
        padding: 0 25px 0 15px;
        .size(auto; 40px);
        line-height: 40px;
        font-size: @font-size-base;
        background: @tabel-border;
        margin-right: 10px;
        color: @gray-con;
        .border-radius(@border-radius-large);
        .addLabelClose {
          .absolute;
          right: 2px;
          top: 2px;
          display: block;
          .square(18px);
          line-height: 16px;
          font-size: @font-size-base;
          .align(center);
          .border-radius(@font-size-small);
          background: @gray-cont;
          color: @title-color;
          cursor: pointer;
        }
      }
    }
    /**
    * 模块：资讯发布 多图按钮
    * 作者：刘弘愿
    * 时间：2017-07-25 09:56:13
     */
    .addTitle {
      .size(100%; 40px);
      background: @tabel-bg;
      font-size: @font-size-in;
      font-weight: normal;
      line-height: 40px;
      text-indent: 24px;
    }
    //验证码
    .ph_subProvingBox {
      .absolute;
      right: 50px;
      top: 0;
      .size(100px; 40px);
      .ph_subProvingBtn {
        .size(90px; 28px);
        padding-left: 10px;
        .border-left(1px; @border-base);
        margin-top: 6px;
        background: none;
        color: @blue-base;
        .border-radius(0);
        &.disableCode {
          color: @gray-cont;
          &:hover {
            color: @gray-cont;
          }
        }
      }
    }
    //银行卡
    .bankCardBox {
      .left;
      .relative;
      .size(400px; 208px);
      background: url("../images/bank-bg.png") 0 0 no-repeat;
      .bankCardName,
      .bankCardNum {
        display: block;
        .absolute;
        top: 20px;
        left: 2%;
        .size(96%; 40px);
        line-height: 40px;
        font-size: @font-size-large-user;
        .align(center);
        color: @title-color;
        overflow: hidden;
      }
      .bankCardNum {
        top: 126px;
        font-size: @font-size-h3;
      }
      .bankCardType {
        display: block;
        .absolute;
        right: 10px;
        top: 5px;
        .size(90px; 24px);
        line-height: 24px;
        .align(center);
        color: @title-color;
        font-size: @font-size-base;
      }
      .bankCtion {
        display: block;
        .absolute;
        bottom: 5px;
        .size(40px; 20px);
        line-height: 20px;
        color: @title-color;
        .align(center);
        cursor: pointer;
        font-size: @font-size-base;
        &:hover {
          text-decoration: underline;
          color: @blue-base;
        }
        &.bankDelete {
          right: 10px;
        }
        &.bankModify {
          right: 60px;
        }
      }
    }
    //角色描述
    .ph_txtAreaBg {
      .left;
      .size(56%; 100px);
      .border(1px; @border-base);
      .border-radius(@border-radius-large);
      padding: 2%;
    }
    //查看订金比例
    .addlookBtn {
      display: block;
      .size(80px; 40px);
      .align(center);
      color: @blue-base;
    }
    //发布版本
    span.radioBtn {
      .left;
      .size(120px; 40px);
      line-height: 40px;
      input[type="radio"] {
        vertical-align: middle;
        margin-right: 8px;
      }
    }
  }
  &.labelBox {
    .bootstrap-select.btn-group:not(.input-group-btn), .bootstrap-select.btn-group[class*="col-"] {
      .size(45%; 40px);
      margin-right: 10px;
    }
  }
}

//图片上传
.filePhoto, .filePhoto-show {
  .left;
  .size(80%; auto);
  margin: 0 auto;
  overflow: hidden;
  &.uploadImg {
    .left;
    height: 120px;
    max-width: 85%;
    min-width: 85%;
  }
  &.photoIcon {
    .square(120px);
    max-width: 120px;
    min-width: 120px;
  }
  .fileBox {
    .square(120px);
    .relative;
    .fileImg {
      .absolute;
      top: 0;
      left: 0;
      .square(120px);
      filter: alpha(opacity=0);
      opacity: 0;
      -moz-opacity: 0;
      -khtml-opacity: 0;
      cursor: pointer;
      z-index: @zindex-navbar;
    }
  }
  .up-section {
    .left;
    .square(120px);
    .relative;
    .border(1px; @border-base);
    .border-radius(@border-radius-large);
    //box-sizing: border-box;
    margin-right: @margin-20;
    .ImgCover {
      .absolute;
      .size(40px; 24px);
      top: 0;
      left: 0;
      line-height: 24px;
      .align(center);
      font-size: @font-size-small;
      margin-right: 0;
      background: @info-base;
      &.hideCover {
        display: none;
      }
    }
    .up-img {
      .square(100%);
      display: block;
      .border-radius(@border-radius-large);
      &.up-opacity {
        opacity: 0;
      }
    }
    .up-span {
      display: block;
      .absolute;
      left: 0;
      bottom: 0;
      .size(100%; 30px);
      background: rgba(0, 0, 0, .5);
      .border-bottom-radius(@border-radius-large);
      z-index: @zindex-modal-background;
    }
    .up-default {
      display: block;
      .absolute;
      left: 0;
      bottom: 0;
      .size(60px; 30px);
      min-width: 60px;
      padding: 0;
      font-size: @font-size-small;
      line-height: 30px;
      color: @title-color;
      .align(center);
      background: none;
      border: none;
      cursor: pointer;
      z-index: @zindex-tooltip;
    }
    .close-upimg {
      display: block;
      .absolute;
      right: 8px;
      bottom: 10px;
      cursor: pointer;
      z-index: @zindex-modal;
    }
    &.loading {
      border: 1px solid #D1D1D1;
      background: url(../images/loading.gif) no-repeat center;
    }
    &.showCover {
      .up-default {
        display: none;
      }
      .hideCover {
        display: block;
      }
    }
  }
}

//禁止输入文本框样式
.ph_disabled {
  background: @tabel-bg;
}

//账号安全
.securityInfo {
  .left;
  line-height: 40px;
  margin-left: @margin-10;
  color: @blue-base;
  font-size: @font-size-base;
  &:hover {
    color: @blue-base-bg;
  }
}

.PromptBox {
  .left;
  .relative;
  .size(30px; 40px);
  display: inline-block;
  margin: 0 10px;
  background: url("../images/tishi.png") center center no-repeat;
  -webkit-background-size: 24px 24px;
  background-size: 24px 24px;
  .promptTxt {
    .hide;
    .absolute;
    top: 45px;
    left: 0;
    .size(300px; auto);
    padding: 6px;
    line-height: 24px;
    font-size: @font-size-small;
    color: @nav-color;
    background: @title-color;
    .border(1px; @blue-base);
    z-index: @zindex-navbar;
    &:after {
      content: "";
      .square(12px);
      /*border-left: 1px solid @border-base;
      border-bottom: 1px solid @border-base;*/
      .border-left(1px; @blue-base);
      .border-bottom(1px; @blue-base);
      transform: rotate(135deg);
      -webkit-transform: rotate(135deg);
      position: absolute;
      left: 9px;
      top: -8px;
      z-index: @zindex-navbar-fixed;
    }
    &:before {
      content: "";
      .square(12px);
      transform: rotate(135deg);
      -webkit-transform: rotate(135deg);
      background: @title-color;
      position: absolute;
      left: 9px;
      top: -7px;
      z-index: @zindex-navbar-fixed;
    }
  }
  &:hover {
    .promptTxt {
      display: block;
    }
  }
}

//2017119 新增样式
//处理信息流程样式
.infoFlowBox {
  .relative;
  .size(100%; auto);
  margin: @margin-30 auto 0 auto;
  .infoLine {
    .absolute;
    top: 12px;
    left: 50%;
    z-index: @zindex-navbar;
    &:extend(.clearfix all);
    .fault {
      float: left;
      background: @info-base;
    }
    .green {
      background: @blue-base;
    }
  }
  //两步流程图
  .infoLineTwo {
    .size(540px; 6px);
    margin-left: -270px;
    .fault {
      .size(540px; 6px);
    }
  }
  //三步流程图
  .infoLineThree {
    .size(720px; 6px);
    margin-left: -360px;
    .fault {
      .size(360px; 6px);
    }
  }
  //六步流程图
  .infoLineSix {
    .size(890px; 6px);
    margin-left: -450px;
    .fault {
      .size(178px; 6px);
    }
  }
  //七步流程图
  .infoLineSeven {
    .size(890px; 6px);
    margin-left: -450px;
    .fault {
      .size(148px; 6px);
    }
  }
  .infoList {
    .relative;
    .size(1060px; 100px);
    margin: 0 auto;
    z-index: @zindex-navbar-fixed;
    &:extend(.clearfix all);
    li {
      float: left;
      .size(25%; 100px);
      text-align: center;
      .infoIco {
        display: block;
        .square(32px);
        margin: 0 auto 15px auto;
        background: url("../images/info_ico.png") 0 0 no-repeat;
      }
      .infoPos {
        background-position: 0 -32px;
      }
      .infoTit {
        line-height: 30px;
        font-size: @font-size-base;
        color: @gray-light;
      }
      .infoDay {
        line-height: 24px;
        font-size: @font-size-small;
        color: @gray-light;
      }
      &.infored {
        .infoTit,
        .infoDay {
          color: @err-color;
        }
      }
    }
  }
  //两步流程
  .infoListTwo {
    li {
      .size(50%; 100px);
    }
  }
  //三步流程
  .infoListThree {
    li {
      .size(33.3%; 100px);
    }
  }
  //六步流程
  .infoListSix {
    li {
      .size(16.5%; 100px);
    }
  }
  //七步流程
  .infoListSeven {
    li {
      .size(14.1%; 100px);
    }
  }

}

//列表操作按钮
.operateBox {
  .relative;
  .size(90px; 30px);
  margin: 0 auto;
  .operate {
    text-align: left;
    background: url('../images/select_up.png') 70px center no-repeat transparent;
    color: @gray;
    &:hover,
    &.hover {
      background: url('../images/select_up_h.png') 70px center no-repeat transparent;
      color: @blue-base;
    }
  }
  .operateList {
    .absolute;
    .size(120px; auto);
    right: 0;
    top: 30px;
    background: @title-color;
    .border(1px; @blue-base);
    z-index: @zindex-navbar;
    li {
      line-height: 30px;
      a {
        display: block;
        color: @gray;
        &:hover {
          background: @gray-lighter;
          color: @blue-base;
        }
      }
      span {
        display: inline-block;
        color: @gray;
        cursor: pointer;
        margin: 0 5px;
        &:hover {
          text-decoration: underline;
          color: @blue-base;
        }
      }
    }
  }
}

//2017-10-19 14:21:40
//新增样式
//作者：刘弘愿

//代理商系统首页样式
.agentInfo {
  .size(98%; auto);
  padding: 10px;
  position: relative;
  &:extend(.clearfix all);
  #preview {
    .square(100px);
    overflow: hidden;
    margin: 10px 10px 10px 40px;
    -webkit-border-radius: 100%;
    -moz-border-radius: 100%;
    border-radius: 100%;
    .left;
  }
  #imghead {
    width: 100%;
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(sizingMethod=image);
  }
  .file {
    position: absolute;
    display: inline-block;
    background: none;
    border: none;
    overflow: hidden;
    width: 100px;
    text-align: center;
    top: 100%;
    left: 50px;
    color: #1E88C7;
    text-decoration: none;
    text-indent: 0;
    line-height: 20px;
    input {
      position: absolute;
      font-size: 100px;
      right: 0;
      top: 0;
      opacity: 0;
    }
    &:hover {
      background: #AADFFD;
      border-color: #78C3F3;
      color: #004974;
      text-decoration: none;
    }
  }
  //代理商详情
  .infoDetail {
    .left;
    margin-top: 12px;
    margin-left: 20px;
    padding-right: 40px;
    height: 100px;
    border-right: 1px solid #999999;
    p {
      margin-bottom: 20px;
      &:last-child {
        margin-bottom: 0;
      }
      &.agent_tel {
        color: #999999;
      }
      .real_name_information {
        background: url("../images/realnameIco.png") left center no-repeat;
        padding-left: 28px;
      }
      .binding_card_information {
        background: url("../images/bindcardIco.png") left center no-repeat;
        padding-left: 28px;
        margin-left: 20px;
      }
    }
  }
  //代理区域
  .agent_area {
    .left;
    margin-top: 12px;
    margin-left: 40px;
    padding-right: 80px;
    height: 100px;
    width: 200px;
    border-right: 1px solid #999999;
    p {
      margin-bottom: 20px;
      &.areaInfo {
        color: #666666;
      }
      span {
        width: auto;
        display: inline-block;
        margin-right: 24px;
        padding-bottom: 10px;
      }
    }
  }
  //账户余额
  .account_balance {
    .left;
    margin-top: 12px;
    margin-left: 40px;
    height: 100px;
    width: 200px;
    p {
      margin-bottom: 20px;
      &:extend(.clearfix all);
      &.areaInfo {
        color: #666666;
      }
      span {
        width: auto;
        display: inline-block;
        padding-bottom: 10px;
        color: #ec5644;
      }
      a {
        float: right;
        border-left: 1px solid #999999;
        margin-left: 20px;
        padding-left: 10px;
        color: #004974a6;
      }
    }
  }
}

//列表操作按钮
.operateBox {
  .relative;
  .size(90px; 30px);
  margin: 0 auto;
  .operate {
    text-align: left;
    background: url('../images/select_up.png') 70px center no-repeat transparent;
    color: @gray;
    &:hover,
    &.hover {
      background: url('../images/select_up_h.png') 70px center no-repeat transparent;
      color: @blue-base;
    }
  }
  .operateList {
    .absolute;
    .size(120px; auto);
    right: 0;
    top: 30px;
    background: @title-color;
    .border(1px; @blue-base);
    z-index: @zindex-navbar;
    li {
      line-height: 30px;
      a {
        display: block;
        color: @gray;
        &:hover {
          background: @gray-lighter;
          color: @blue-base;
        }
      }
      span {
        display: inline-block;
        color: @gray;
        cursor: pointer;
        margin: 0 5px;
        &:hover {
          text-decoration: underline;
          color: @blue-base;
        }
      }
    }
  }
}
